<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Nov 2, 2010 9:04:12 AM by Hibernate Tools 3.2.4.GA -->
<hibernate-mapping>
    <class name="acme.serviceproviders.data.Plane" table="planes">
        <id name="planeId" type="java.lang.Integer">
            <column name="plane_id" />
            <generator class="identity" />
        </id>
        <property name="company" type="string">
            <column name="company" length="45" not-null="true" />
        </property>
        <property name="startCity" type="string">
            <column name="start_city" length="45" not-null="true" />
        </property>
        <property name="targetCity" type="string">
            <column name="target_city" length="45" not-null="true" />
        </property>
        <property name="tripcost" type="float">
            <column name="tripcost" precision="12" scale="0" not-null="true" />
        </property>
        <property name="departureTime" type="time">
            <column name="departure_time" length="8" not-null="true" />
        </property>
        <property name="arrivalTime" type="time">
            <column name="arrival_time" length="8" not-null="true" />
        </property>
    </class>
</hibernate-mapping>
